﻿using System.ServiceModel;
using Safover.Lidar.DataContract;

namespace Safover.Lidar.Service.Interface
{
    [ServiceContract(Name = "LidarGatewayService", Namespace = "http://www.safover.lidar.com")]
    public interface ILidarGatewayService
    {
        /// <summary>
        /// 数据上报接口
        /// </summary>
        /// <param name="frame"></param>
        [OperationContract(IsOneWay = true)]
        void UploadPacket(LidarRawFrame frame);


        /// <summary>
        /// 设备实时读数(参数)上报接口
        /// </summary>
        /// <param name="readings"></param>
        [OperationContract(IsOneWay = true)]
        void ReportDeviceRuntimeReadings(DeviceRuntimeReadings readings);
    }
}
